<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">

    <div class="layui-card-body padding-left-40">
        <label class="layui-form-item">
            <span class="help-label"><b>公证处</b></span>
            <input class="layui-input" value='{$matter.notarial_office_name|default=""}' readonly>
        </label>
        <label class="layui-form-item">
            <span class="help-label"><b>公证类型</b></span>
            <input class="layui-input" value='{$matter.type_text|default=""}-
{if $vo.base_type != 0}
{if $vo.matter_id == 1}
本人办理
                {else}
代理人办理
                {/if}
            {else}
{$matter.matter_name|default=""}
            {/if}
            ' readonly>
        </label>
        <div class="layui-form-item">
            <span class="help-label"><b>{if $vo.matter_id == '1' and $vo.base_type != '0'}委托人信息{else}代理人+委托人信息{/if}</b></span>
            <table class="layui-table">
                <thead>
                <tr>
                    <th class="nowrap text-center">姓名</th>
                    <th class="nowrap text-center">联系电话</th>
                    <th class="nowrap text-center">{if $vo.base_type == '0'}委托人{else}{if $vo.matter_id eq '1'}委托人{else}代理人{/if}{/if}身份证正面</th>
                    <th class="nowrap text-center">{if $vo.base_type == '0'}委托人{else}{if $vo.matter_id eq '1'}委托人{else}代理人{/if}{/if}身份证反面</th>
                    <th class="nowrap text-center">委托人户口本图片</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-if="item.city.length > 0" ng-repeat="item in rules">
                    <td class="padding-0 text-center">
                        <input class="layui-input text-center padding-left-0 border-0" required value='{$vo.client_name|default=""}' readonly>
                    </td>
                    <td class="padding-0 text-center">
                        <input class="layui-input text-center padding-left-0 border-0" required value='{$vo.client_phone|default=""}' readonly>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.client_front_of_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.client_reverse_side_of_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.client_household_register|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        {eq name='$vo.base_type' value='2'}
        <span class="help-label"><b>关系证明</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {if $vo.proof_of_relationship != ''}
                <img alt="img" data-tips-image src="{$vo.proof_of_relationship|default=''}" style="width:auto;height:100px">
                {/if}
            </div>
        </fieldset>
        {/eq}
        <div class="layui-form-item">
            <span class="help-label"><b>{in name='$vo.base_type' value='1,2'}父母婚姻状况{else/}婚姻状况{/in}</b></span>
            <table class="layui-table">
                <thead>
                <tr>
                    <th class="nowrap text-center">婚姻状况</th>
                    {eq name='vo.client_marital_status' value='1'}
                    <th class="nowrap text-center">结婚证</th>
                    {/eq}
                    {eq name='vo.client_marital_status' value='2'}
                    <th class="nowrap text-center">离婚证</th>
                    <th class="nowrap text-center">离婚协议</th>
                    {/eq}
                </tr>
                </thead>
                <tbody>
                <tr ng-if="item.city.length > 0" ng-repeat="item in rules">
                    <td class="padding-0 text-center">
                        <input class="layui-input text-center padding-left-0 border-0" required value='{switch vo.client_marital_status}
                        {case 0}未婚{/case}
                        {case 1}已婚{/case}
                        {default /}离异
                        {/switch}' readonly>
                    </td>
                    {eq name='vo.client_marital_status' value='1'}
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.client_marriage_certificate|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    {/eq}
                    {eq name='vo.client_marital_status' value='2'}
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.client_divorce_certificate|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        {foreach $vo.client_divorce_agreement as $client_divorce_agreement}
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$client_divorce_agreement|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                        {/foreach}
                    </td>
                    {/eq}
                </tr>
                </tbody>
            </table>
        </div>
        {eq name='$vo.base_type' value='0'}
        <span class="help-label"><b>房产证</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {if $vo.client_property_ownership_certificate != ''}
                <img alt="img" data-tips-image src="{$vo.client_property_ownership_certificate|default=''}" style="width:auto;height:100px">
                {/if}
            </div>
        </fieldset>
        <span class="help-label"><b>购房协议</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {foreach $vo.client_house_purchase_agreement as $k=>$v}
                {if $v != ''}
                <img alt="img" data-tips-image src="{$v|default=''}" style="width:auto;height:100px">
                {/if}
                {/foreach}
            </div>
        </fieldset>
        <span class="help-label"><b>房产信息查询(产调)</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {foreach $vo.client_property_information as $k=>$v}
                {if $v != ''}
                <img alt="img" data-tips-image src="{$v|default=''}" style="width:auto;height:100px">
                {/if}
                {/foreach}
            </div>
        </fieldset>
        <span class="help-label"><b>受托人</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {foreach $vo.trustee_id_card as $k=>$v}
                <img alt="img" data-tips-image src="{$v.idCard_z|default=''}" style="width:auto;height:100px">
                <img alt="img" data-tips-image src="{$v.idCard_f|default=''}" style="width:auto;height:100px">
                {/foreach}
            </div>
        </fieldset>
        {/eq}
        {in name='$vo.base_type' value='1,2'}
        <div class="layui-form-item">
            <span class="help-label"><b>父母身份证</b></span>
            <table class="layui-table">
                <thead>
                <tr>
                    <th class="nowrap text-center">父亲身份证正面</th>
                    <th class="nowrap text-center">父亲身份证反面</th>
                    <th class="nowrap text-center">母亲身份证正面</th>
                    <th class="nowrap text-center">母亲身份证反面</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-if="item.city.length > 0" ng-repeat="item in rules">
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.front_of_fathers_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.reverse_side_of_fathers_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.front_of_mothers_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                    <td class="padding-0 text-center">
                        <div class="headimg headimg-md" data-tips-hover data-tips-image data-lazy-src="{$vo.reverse_side_of_mothers_id_card|default='__ROOT__/static/theme/img/headimg.png'}"></div>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <span class="help-label"><b>父母户口本</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {if $vo.parents_household_register != ''}
                <img alt="img" data-tips-image src="{$vo.parents_household_register|default=''}" style="width:auto;height:100px">
                {/if}
            </div>
        </fieldset>
        {/in}
        <span class="help-label"><b>其他</b></span>
        <fieldset class="layui-form-item">
            <div class="layui-form-item relative block">
                {foreach $vo.other as $k=>$v}
                {if $v != ''}
                <img alt="img" data-tips-image src="{$v|default=''}" style="width:auto;height:100px;margin-left: 2px;">
                {/if}
                {/foreach}
            </div>
        </fieldset>

        {if $vo.status == 8}
        <label class="layui-form-item relative block">
            <span class="help-label"><b>审批人</b></span>
            <input class="layui-input" name="approval_name" placeholder="请输入审批人名字" required value='{$vo.approval_name|default=""}'>
        </label>
        {/if}

        <!--<label class="layui-form-item relative block">-->
        <!--    <span class="color-green font-w7">订单审核描述</span>-->
        <!--    <span class="color-desc margin-left-5"></span>-->
        <!--    <textarea class="layui-textarea" name="reason_for_rejection" placeholder="请输入订单审核描述">{$vo.reason_for_rejection|default=''}</textarea>-->
        <!--</label>-->
    </div>
</form>